# Maintainer: Willow Barraco <contact@willowbarraco.fr>
pkgname=hari
pkgver=0_git20240715
_commit=50a0105b106f392777cd338b1a714436c03b9d89
pkgrel=0
pkgdesc="UI toolkit for Hare"
url="https://git.sr.ht/~sircmpwn/hari"
arch="noarch !armhf !ppc64le !s390x !armv7 !x86 !loongarch64" # hare
license="MPL-2.0"
makedepends="hare"
options="!check" # no test suite
source="
	$pkgname-$_commit.tar.gz::https://git.sr.ht/~sircmpwn/hari/archive/$_commit.tar.gz
"
builddir="$srcdir/$pkgname-$_commit"

package() {
	mkdir -p "$pkgdir"/usr/src/hare/third-party/
	cp -r hari "$pkgdir"/usr/src/hare/third-party/
}

sha512sums="
0e8995a09f679cc58978ecf6e1457405dc7c9a46c5df8cffbc295b52f504962c1a116de2b46e4578aaa9b9d5f6e408135939d32d65952d32c8036e1c7cef57f4  hari-50a0105b106f392777cd338b1a714436c03b9d89.tar.gz
"
